/*
 * @Descripttion: 
 * @Author: 小毅
 * @Date: 2021-11-17 14:47:09
 * @LastEditTime: 2021-11-17 15:03:53
 */
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import { routerList, routerMap } from '../../Router/index'
const RoutesView = () => {
  return routerList.map(({ key, path, isexact, component }) => {
    // return <Route key={key} exact={isexact} path={path} component={component} />
    return <Route key={key} exact path={key} component={component} />
  })
}


export default RoutesView